package shiro;

import java.io.Serializable;

/**
 * @author lzh
 * @description 用于签发jwt的用户实体类
 * @date 2021/2/7
 */
public class CurrentUser implements Serializable {
    private Long userId;
    private String username;
    private int roleId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }
}
